import UIKit

// Axis-specific subclasses for location anchors: top/bottom, leading/trailing, baseline, etc.
@available(iOS 9.0, *)
extension QKC where AA :NSLayoutXAxisAnchor {
	// A composite anchor for creating constraints relating horizontal distances between locations.
    @available(iOS 10.0, *)
    open func anchorWithOffset_qk_f(to otherAnchor: NSLayoutXAxisAnchor) -> QKC<AA,YY,ZZ,NSLayoutDimension>{
		 self +^ self.value.anchorWithOffset(to:otherAnchor)
	}

}

@available(iOS 9.0, *)
extension QKC where AA :NSLayoutYAxisAnchor {
	// A composite anchor for creating constraints relating vertical distances between locations.
    @available(iOS 10.0, *)
    open func anchorWithOffset_qk_f(to otherAnchor: NSLayoutYAxisAnchor) -> QKC<AA,YY,ZZ,NSLayoutDimension>{
		 self +^ self.value.anchorWithOffset(to:otherAnchor)
	}

}

// This layout anchor subclass is used for sizes (width & height).
@available(iOS 9.0, *)
extension QKC where AA :NSLayoutDimension {
	// These methods return an inactive constraint of the form thisVariable = constant.
    open func constraint_qk_f(equalToConstant c: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
		 self +^ self.value.constraint(equalToConstant:c)
	}

    open func constraint_qk_f(greaterThanOrEqualToConstant c: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
		 self +^ self.value.constraint(greaterThanOrEqualToConstant:c)
	}

    open func constraint_qk_f(lessThanOrEqualToConstant c: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
		 self +^ self.value.constraint(lessThanOrEqualToConstant:c)
	}

	// These methods return an inactive constraint of the form thisAnchor = otherAnchor * multiplier.
    open func constraint_qk_f(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
		 self +^ self.value.constraint(equalTo:anchor, multiplier:m)
	}

    open func constraint_qk_f(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
		 self +^ self.value.constraint(greaterThanOrEqualTo:anchor, multiplier:m)
	}

    open func constraint_qk_f(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
		 self +^ self.value.constraint(lessThanOrEqualTo:anchor, multiplier:m)
	}

	// These methods return an inactive constraint of the form thisAnchor = otherAnchor * multiplier + constant.
    open func constraint_qk_f(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
		 self +^ self.value.constraint(equalTo:anchor, multiplier:m, constant:c)
	}

    open func constraint_qk_f(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
		 self +^ self.value.constraint(greaterThanOrEqualTo:anchor, multiplier:m, constant:c)
	}

    open func constraint_qk_f(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
		 self +^ self.value.constraint(lessThanOrEqualTo:anchor, multiplier:m, constant:c)
	}

}

// NSLAYOUTANCHOR_H
@available(iOS 9.0, *)
extension QKC where AA :NSLayoutXAxisAnchor {
    @available(iOS 11.0, *)
    open func constraint_qk_f(equalToSystemSpacingAfter anchor: NSLayoutXAxisAnchor, multiplier: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
        self +^ self.value.constraintEqualToSystemSpacingAfter(anchor, multiplier:multiplier)
	}

    @available(iOS 11.0, *)
    open func constraint_qk_f(greaterThanOrEqualToSystemSpacingAfter anchor: NSLayoutXAxisAnchor, multiplier: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
        self +^ self.value.constraintGreaterThanOrEqualToSystemSpacingAfter(anchor, multiplier:multiplier)
	}

    @available(iOS 11.0, *)
    open func constraint_qk_f(lessThanOrEqualToSystemSpacingAfter anchor: NSLayoutXAxisAnchor, multiplier: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
        self +^ self.value.constraintLessThanOrEqualToSystemSpacingAfter(anchor, multiplier:multiplier)
	}

}

@available(iOS 9.0, *)
extension QKC where AA :NSLayoutYAxisAnchor {
    @available(iOS 11.0, *)
    open func constraint_qk_f(equalToSystemSpacingBelow anchor: NSLayoutYAxisAnchor, multiplier: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
        self +^ self.value.constraintEqualToSystemSpacingBelow(anchor, multiplier:multiplier)
	}

    @available(iOS 11.0, *)
    open func constraint_qk_f(greaterThanOrEqualToSystemSpacingBelow anchor: NSLayoutYAxisAnchor, multiplier: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
        self +^ self.value.constraintGreaterThanOrEqualToSystemSpacingBelow(anchor, multiplier:multiplier)
	}

    @available(iOS 11.0, *)
    open func constraint_qk_f(lessThanOrEqualToSystemSpacingBelow anchor: NSLayoutYAxisAnchor, multiplier: CGFloat) -> QKC<AA,YY,ZZ,NSLayoutConstraint>{
        self +^ self.value.constraintLessThanOrEqualToSystemSpacingBelow(anchor, multiplier:multiplier)
	}

}

